package com.tars.txtm.trasactional;

import com.tars.txtm.enums.TxEnum;
import com.tars.txtm.util.Task;

/**
 * @author: Franz 2022/3/19
 */
public class MyTransactional {

    //事务分组ID
    private String txGroupID;

    //事务状态
    private TxEnum status;

    //事务锁
    private Task task;

    //事务总数
    private int txCount;

    public String getTxGroupID() {
        return txGroupID;
    }

    public void setTxGroupID(String txGroupID) {
        this.txGroupID = txGroupID;
    }

    public TxEnum getStatus() {
        return status;
    }

    public void setStatus(TxEnum status) {
        this.status = status;
    }

    public Task getTask() {
        return task;
    }

    public void setTask(Task task) {
        this.task = task;
    }

    public int getTxCount() {
        return txCount;
    }

    public void setTxCount(int txCount) {
        this.txCount = txCount;
    }
}
